package com.example.demo.exception;


public class IndexException extends RuntimeException {
    Integer code;
    String msg = "";
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
    public IndexException(int code , String msg) {
        super("XXX");
        this.code = code;
        this.msg = msg;
    }
}
